package com.example.auth.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 用户实体类
 */
@Data
@NoArgsConstructor
@TableName(value="sys_user")
public class User  implements Serializable {
    private static final long serialVersionUID = 1L; // 推荐显式声明，保证版本兼容性
    private  Long id;
    private  String  userName;
    private String nickName;
    private String password;
    private Character status;
    private String phone;
    private Character sex;
    private String avatar;
    private Character user_type;
    private Long createBy;
    private Long updateBy;
    private Date createTime;
    private Date updateTime;
    private Integer delFlag;
}
